
<style>
	.ui-dialog{z-index:1000;}
</style>

<?php include_once 'common/header.php';  ?>
<!-- admin_main -->
<div class="admin_main">
	<!-- Admin_top end -->
	<?php include_once 'common/system_left.php';  ?>
	<!-- Admin_Left End -->
	<div class="admin_right">
		<div class="admin_right_title"><strong>通知信息模板管理</strong> >>通知信息模板管理---(#UserName#表示接受信息用户的用户名，（#LINK#）表示链接地址 ，包含#号都是动态参数)</div>
		<div class="admin_right_info">
			<div class="payonline_form">
				<form action="" method="post" id="gruaranteeForm"
					name="gruaranteeForm" enctype="multipart/form-data">					
					<dl class="online_dl" >
						<dt>用户注册成功：</dt>
						<dd>
							<textarea name="regsuccess" id="regsuccess" style="width:910px; height:275px;font-size:12px;"><?php echo $emailtxt['regsuccess'];?></textarea>
						</dd>
					</dl>
					<dl class="online_dl">
						<dt>登陆密码找回：</dt>
						<dd>
							<textarea name="findPwdMail" id="findPwdMail" style="width:910px; height:188px;font-size:12px;"><?php echo $emailtxt['findPwdMail'];?></textarea>
						</dd>
					</dl>
					<dl class="online_dl">
						<dt>交易密码找回：</dt>
						<dd>
							<textarea name="findPaypwdMail" id="findPaypwdMail" style="width:910px; height:188px;font-size:12px;"><?php echo $emailtxt['findPaypwdMail'];?></textarea>
						</dd>
					</dl>
					<div class="payment_btm">
						<input type="button" style="width: 60px; height:24px" value="修改" onclick="submitpayment();" />
					</div>
				</form>
				</div>

			
			</div>
	</div>
<!-- Admin_Right End -->
</div>
<!-- admin_main end -->


<script type="text/javascript">
function submitpayment(){
		$.ajax({
			type: "POST",
			url: "/ychadmin/msgonline/templetsave",
			data: "regsuccess="+$("#regsuccess").val()+"&findPwdMail="+$("#findPwdMail").val()+"&findPaypwdMail="+$("#findPaypwdMail").val(),
			success: function(ret){
				/*$("#dialog" ).dialog();
				$("#msg").html(ret.msg);
				setTimeout(function(){
					$("#dialog" ).dialog("close");
				},5000);*/
				window.location.reload();
			},
			dataType: "json"
		});	
}

</script>

</body>
</html>
